import { request } from '../request.js'

// 申请接口
const INDEX = {
  // 获取列表数据(分页)
  selectCheckTask: param => request('checkTask/selectCheckTask', param),
  // 获取列表数据: 巡检任务批次
  selectCheckBatch: param => request('checkTask/selectCheckBatch', param),
  // 增加巡检日志 POST /checkTask/addCheckDaily
  addCheckDaily: param => request('checkTask/addCheckDaily', param),
  // 上传文件 POST /checkTask/addWenjian
  addWenjian: param => request('checkTask/addWenjian', param),
  // 生成文本 POST /checkTask/createPdf
  createPdf: param => request('checkTask/createPdf', param),
  // POST /checkTask/selectCheckDetail
  selectCheckDetail: param => request('checkTask/selectCheckDetail', param),
  // 查询消防设施 POST /checkTask/selectFirelist
  selectFirelist: param => request('checkTask/selectFirelist', param),
  // 查询日志详情 POST /checkTask/selectFirelist
  getDetail: param => request('checkTask/getDetail', param)
}

export default INDEX
